package org.jeecg.modules.demo.partner.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.demo.partner.entity.Partner;
import org.jeecg.modules.demo.partner.entity.SysUser;

import java.util.List;

public interface IPartnerService extends IService<Partner> {

    Boolean checkUserExists(String username);

    Boolean checkCompanyExists(String companyName);

    Partner getPartnerById(String id);

    void saveUser(SysUser user, String[] types);

    List<Partner> getPartnerByType(String cooperatorType);

}
